#define _CRT_SECURE_NO_WARNINGS 1
#include"Myset.h"
#include<cstdlib>
#include<ctime>

using namespace std;
int main()
{
	yxt::bitset<0xffffffff> bi;
	vector<int> arr;
	srand((unsigned int)time(nullptr));
	for (int i = 0; i < 1000000; i++)
	{
		arr.push_back(rand()%1000000 + 1);
	}
	sort(arr.begin(), arr.end());
	vector<int> qur = { 1,1000000000,33,66 };
	for (auto i : arr)
	{
		bi.set(i);
	}
	for (auto i : qur)
	{
		if (bi.Test(i)) cout << i << ' ';
	}
	return 0;
}